package com.winter.dto.req;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @author Jinhao
 * @create 2023/02/03 15:20
 * @description
 */
@Data
public class ValidTestReq {

    /**
     * 姓名
     */
    @NotBlank(message = "请输入名字")
    @Length(message = "名字不能超过{max}个字符", max = 6)
    private String name;

    /**
     * 分支测试-beta
     */
    private Integer sex;
}
